//package com.example.hxpc.guidancemanagement.adapter;
//
//import android.support.v4.app.Fragment;
//import android.support.v4.app.FragmentManager;
//import android.support.v4.app.FragmentStatePagerAdapter;
//
//import com.example.hxpc.guidancemanagement.fragment.ImageDetailFragment;
//
//import java.util.ArrayList;
//
///**
// * Created by tao on 2017/12/25.
// */
//
//public class ImagePagerAdapter extends FragmentStatePagerAdapter {
//
//    private ArrayList<String> fileList;
//
//    public ImagePagerAdapter(FragmentManager fm , ArrayList<String> fileList) {
//        super(fm);
//        this.fileList = fileList;
//    }
//
//    @Override
//    public Fragment getItem(int position) {
//        String url = fileList.get(position);
//        return ImageDetailFragment.newInstance(url);
//    }
//
//    @Override
//    public int getCount() {
//        return fileList == null?0:fileList.size();
//    }
//}
